Home

Computer science

'

c++ \ufeff
void function print on console and output.txt
***how to program a function (below) \ufeffto print on console(input/output) \ufeffand output.txt file
*** \ufeffhow to call in main.cpp
-
programmed by : Mike
Class. : c++
Section. :mtwthf
lab. : 8
-
void printclasshead(ofstream &fout)
// \ufefffunction to print header to file
{
\ufefffout << \ufeffleft;
\ufeff fout <<"**************************************************";
\ufeff fout <<"
* \ufeff PROGRAMMED BY : mike";
\ufeff fout <<"
*  "<
'

Answer